Don't use (read-only-mode 1), set `buffer-read-only' directly

Signed-off-by: Moritz Ulrich <moritz@tarn-vedra.de>