add note about casting the return pointer of ofGetAppPtr()

btw, it seems like the return type is wrong in the doc as well.

it says ofBaseApp instead of ofBaseApp*.

but I imagine this is a problem with the script that generates this from the source...