[h264 decoder] check if the h264 decoder instance allocation is successful before use. Release Version: 1.2.0 Signed-off-by: Irui Wang <irui.wang@mediatek.com>