doc: clarify check for NULL pointer style