Increase the number of layers bufferDequeue can use

Change-Id: I4fc346c08446ba4d517484c1341ab3facf65e97e
Add RockChip changes