sys-calls: Fixed incorrect buffer backlog initialization
sys-calls: Fixed incorrect update of buffer's head position