Drop unneeded parameter from check_papi_state
Drop unneeded parameter from check_papi_state

Drop unneeded parameter from the check_papi_state() function, and
don't mix up papi error values and pcp error values that we could
return.  Stick to papi.

prasincs/pcp,mbaldessari/pcp,wuliming/pcp,adfernandes/pcp,aeg-aeg/pcpfans,aeg-aeg/pcpfans,mbaldessari/pcp,adfernandes/pcp,andyvand/cygpcpfans,edwardt/pcp,wuliming/pcp,tjanez/pcp,prasincs/pcp,andyvand/cygpcpfans,mbaldessari/pcp,prasincs/pcp,prasincs/pcp,andyvand/cygpcpfans,adfernandes/pcp,andyvand/cygpcpfans,andyvand/cygpcpfans,edwardt/pcp,mbaldessari/pcp,edwardt/pcp,tjanez/pcp,aeg-aeg/pcpfans,tjanez/pcp,edwardt/pcp,tjanez/pcp,adfernandes/pcp,andyvand/cygpcpfans,tjanez/pcp,prasincs/pcp,tjanez/pcp,wuliming/pcp,wuliming/pcp,adfernandes/pcp,edwardt/pcp,tjanez/pcp,mbaldessari/pcp,edwardt/pcp,prasincs/pcp,aeg-aeg/pcpfans,adfernandes/pcp,aeg-aeg/pcpfans,adfernandes/pcp,prasincs/pcp,wuliming/pcp,andyvand/cygpcpfans,prasincs/pcp,aeg-aeg/pcpfans,edwardt/pcp,adfernandes/pcp,aeg-aeg/pcpfans,wuliming/pcp,andyvand/cygpcpfans,mbaldessari/pcp,aeg-aeg/pcpfans,wuliming/pcp,wuliming/pcp,edwardt/pcp,tjanez/pcp