Add some missing nullable return annotations
This is based on mentioning %NULL as possible return value in the doc texts
Related to #3267 (closed)
This is based on mentioning %NULL as possible return value in the doc texts
Related to #3267 (closed)