Fix panic by moving the prp == 0 check up the order of sanity checks.
Fix panic by moving the prp == 0 check up the order of sanity checks.

Submitted by:	Bart Thate <freebsd@1st.dudi.org> on -current
Approved by:	rwatson

jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase