Add more constness to the end_buf pointer in the netconsole