Put func after __attribute__ in PCL_DEPRECATE macro

This pull request swaps `func` and `__attribute__` in `PCL_DEPRECATE` macro for _gcc_ and _clang_ compilers as proposed by @erickulcyk in #537.