native: add and use callback type
Merge pull request #1898 from LudwigOrtmann/native_callback_t

native: add and use callback type
core: eliminate warning

This initialized has actually no relevance and is just needed to
suppress a compiler warning.
SQUASH ME: inISR check is superfluous