Fixing heap's block allocation routine. Adding related checks to mem_check_heap.
Fixing heap's block allocation routine. Adding related checks to mem_check_heap.

zherczeg/jerryscript,yichoi/jerryscript,slaff/jerryscript,robertsipka/jerryscript,bsdelf/jerryscript,slaff/jerryscript,loki04/jerryscript,jack60504/jerryscript,martijnthe/jerryscript,loki04/jerryscript,zherczeg/jerryscript,bsdelf/jerryscript,bsdelf/jerryscript,robertsipka/jerryscript,dbatyai/jerryscript,bsdelf/jerryscript,jerryscript-project/jerryscript,akosthekiss/jerryscript,jack60504/jerryscript,grgustaf/jerryscript,bzsolt/jerryscript,yichoi/jerryscript,loki04/jerryscript,robertsipka/jerryscript,loki04/jerryscript,akosthekiss/jerryscript,martijnthe/jerryscript,dbatyai/jerryscript,grgustaf/jerryscript,jack60504/jerryscript,loki04/jerryscript,martijnthe/jerryscript,bsdelf/jerryscript,tilmannOSG/jerryscript,jerryscript-project/jerryscript,jack60504/jerryscript,LeeHayun/jerryscript,glistening/jerryscript,LeeHayun/jerryscript,robertsipka/jerryscript,slaff/jerryscript,martijnthe/jerryscript,tilmannOSG/jerryscript,LeeHayun/jerryscript,grgustaf/jerryscript,slaff/jerryscript,akosthekiss/jerryscript,LaszloLango/jerryscript,robertsipka/jerryscript,jack60504/jerryscript,jack60504/jerryscript,jerryscript-project/jerryscript,slaff/jerryscript,LaszloLango/jerryscript,bzsolt/jerryscript,LeeHayun/jerryscript,glistening/jerryscript,akosthekiss/jerryscript,yichoi/jerryscript,loki04/jerryscript,gabrielschulhof/jerryscript,LaszloLango/jerryscript,martijnthe/jerryscript,jerryscript-project/jerryscript,gabrielschulhof/jerryscript,martijnthe/jerryscript,bzsolt/jerryscript,bsdelf/jerryscript,jerryscript-project/jerryscript,gabrielschulhof/jerryscript,tilmannOSG/jerryscript,yichoi/jerryscript,glistening/jerryscript,zherczeg/jerryscript,tilmannOSG/jerryscript,zherczeg/jerryscript,grgustaf/jerryscript,grgustaf/jerryscript,dbatyai/jerryscript,gabrielschulhof/jerryscript,dbatyai/jerryscript,glistening/jerryscript,akosthekiss/jerryscript,gabrielschulhof/jerryscript,bzsolt/jerryscript,yichoi/jerryscript,glistening/jerryscript,LaszloLango/jerryscript,glistening/jerryscript,zherczeg/jerryscript,grgustaf/jerryscript,LaszloLango/jerryscript,bzsolt/jerryscript,dbatyai/jerryscript,robertsipka/jerryscript,tilmannOSG/jerryscript,LeeHayun/jerryscript