add log for ref pic buffer memory alloc
Merge pull request #1606 from huili2/log_for_memory_realloc

add log for ref pic buffer memory alloc