add {before,after}_planner_hooks

FFTW now calls fftw_before_planner_hook() before creating a plan, and
fftw_after_planner_hook() afterwards.  This allows users, e.g., to
grab a lock.

TBD: add arguments.