Move extern definitions for p_map.c to p_local.h

This fixes conflicting array sizes for the variable "spechit" as
reported in https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=748393.

Fixes #414