extern char *_res_opcodes[] is not available on FreeBSD-8.  Also
there was a stupid potential out-of-bounds error on referencing
that array.  Replaced it with a p_opcode() function.