Properly cast result of PR_FindFunctionSymbol