(PE-2741) improve `service` macro error handling

Throw a more informative error message when the user incorrectly tries
to include a docstring on a service function implementation.