drivers/serial: Update log_dump to only store console logs
drivers/serial: Update log_dump to only store console logs

Currently log_dump stores all the data that is sent via the serial driver
interface. Updated log_dump to only store the console logs.

Signed-off-by: Abhishek Akkabathula <d7e0068fa4fa5deac598bc54a95fdd440f7851ef@samsung.com>

Samsung/TizenRT,jeongarmy/TizenRT,jeongchanKim/TizenRT,Samsung/TizenRT,jeongchanKim/TizenRT,jeongchanKim/TizenRT,jeongarmy/TizenRT,jeongarmy/TizenRT,jeongarmy/TizenRT,jeongchanKim/TizenRT,jeongarmy/TizenRT,sunghan-chang/TizenRT,Samsung/TizenRT,sunghan-chang/TizenRT,sunghan-chang/TizenRT,sunghan-chang/TizenRT,jeongchanKim/TizenRT,sunghan-chang/TizenRT,Samsung/TizenRT,jeongarmy/TizenRT,Samsung/TizenRT,jeongarmy/TizenRT,jeongchanKim/TizenRT,sunghan-chang/TizenRT,sunghan-chang/TizenRT,jeongchanKim/TizenRT,Samsung/TizenRT,Samsung/TizenRT