fix omap4 and some others.

We must call HwBuffer_AllocateBuffers during Idle State or when Port is
disabled, so not during AllocateBuffers from PortReconfigure.

Also move HwBuffer_FreeBuffers outside of FreeBuffers (in order to do like alloc).
avoid useless call of OMX_GetParameter.