add parameters to update_display() and write_vmem()

This is done to decouple par->dirty_lines_{start,end} from these functions
fbtft: protect dirty_lines_{start,end} with a lock

Fixes #1
fbtft: return to dev_warn() since bug is fixed