Merge "Add null check for fgets in BufferQueueCore" into rvc-dev am: 9b5bf0f42d am: 4db659e8d9

Change-Id: Ia61b685f5c856c949bf7d8b7ea2e0a4aec1b3752